Skip to content

Commit

Permalink
condense the comparison of id's discussion to simplify further
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Aug 21, 2014
1 parent 94a05e8 commit fed9c79
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions activitystreams2.html
Expand Up @@ -362,8 +362,12 @@ <h2><dfn title="Object" id="asobject">Object</dfn></h2>
<td><code><dfn title="id" id="id-attribute"><a href="activitystreams2-vocabulary.html#dfn-id">id</a></dfn></code></td>
<td>IRI</td>
<td>
Provides a permanent, universally unique identifier for the object
in the form of an absolute IRI [[RFC3987]].
<p>Provides a permanent, universally unique identifier for the object
in the form of an absolute IRI [[RFC3987]]. Comparison of <code>id</code>
values MUST be on a character-by-character,
case-sensitive basis based solely on the character strings themselves and
MUST NOT rely on dereferencing the IRIs or URIs mapped from them.
</p>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -1179,28 +1183,6 @@ <h2>Deprecated Activity Streams 1.0 Syntax</h2>

</section>

<section id="id-value-comparison">

<h2>Comparison of Identifier Values</h2>

<p>
The values of <code><a>id</a></code> properties can be compared to determine if the
identifiers represent duplicate content. The values MUST be compared
on a character-by-character, case-sensitive basis. Comparisons MUST
be based solely on the character strings themselves and MUST NOT rely
on dereferencing the IRIs or URIs mapped from them.
</p>

<p>
As a consequence, two IRIs that resolve to the same resource but are
not character-for-character identical will be considered different
for the purposes of identifier comparison. In such cases, the
<code><a href="activitystreams2-vocabulary.html#dfn-duplicates">duplicates</a></code>
property can be used to relate such objects to one another.
</p>

</section>

<section id="extensibility">

<h2>Extensibility</h2>
Expand Down

0 comments on commit fed9c79

Please sign in to comment.